//
//  Driver.h
//  OC02_作业
//
//  Created by dllo on 15/12/1.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Driver : NSObject
//{
//@public
//    NSString *_name;
//    int _age;
//}

@property (nonatomic, retain)NSString *name;
@property (nonatomic, assign)int age;
- (void)information;

//- (void)setName:(NSString *)name;
//- (NSString *)name;
//
//- (void)setAge:(int)age;
//- (int)age;

- (instancetype)initWithName:(NSString *)name
                         age:(int)age;

+ (instancetype)driverWiteName:(NSString *)name
                           age:(int)age;

@end
